package com.tianji.aigc.service.impl;

import com.tianji.aigc.entity.MongoChatSession;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.Optional;

public interface MongoChatSessionService extends MongoRepository<MongoChatSession, String> {
    Optional<MongoChatSession> findBySessionId(String sessionId);
    void deleteBySessionId(String sessionId);
}